package org.lionsoul.ip2region2;

public class HeaderBlock
{
  private long indexStartIp;
  private int indexPtr;

  public HeaderBlock(long paramLong, int paramInt)
  {
    this.indexStartIp = paramLong;
    this.indexPtr = paramInt;
  }

  public long getIndexStartIp()
  {
    return this.indexStartIp;
  }

  public HeaderBlock setIndexStartIp(long paramLong)
  {
    this.indexStartIp = paramLong;
    return this;
  }

  public int getIndexPtr()
  {
    return this.indexPtr;
  }

  public HeaderBlock setIndexPtr(int paramInt)
  {
    this.indexPtr = paramInt;
    return this;
  }

  public byte[] getBytes()
  {
    byte[] arrayOfByte = new byte[8];
    Util.writeIntLong(arrayOfByte, 0, this.indexStartIp);
    Util.writeIntLong(arrayOfByte, 4, this.indexPtr);
    return arrayOfByte;
  }
}

/* Location:           C:\Users\zhangliang.sm\Desktop\dbMaker-1.2.2.jar
 * Qualified Name:     org.lionsoul.ip2region.HeaderBlock
 * JD-Core Version:    0.6.2
 */